Scala create List[Int]
Posted
by portoalet
on Stack Overflow
See other posts from Stack Overflow
or by portoalet
Published on 2010-03-25T09:50:57Z
Indexed on
2010/03/25
9:53 UTC
Read the original article
Hit count: 415
scala
Hi,
How can I quickly create a List[Int] that has 1 to 100 in it?
I tried List(0 to 100) , but it returns List[Range.Inclusive]
Thanks
© Stack Overflow or respective owner